package com.easyboot.web.monitor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName monitor_job_log
 */
@TableName(value ="monitor_job_log")
@Data
public class MonitorJobLog implements Serializable {
    /**
     * 数据id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 任务id
     */
    private Long jobId;

    /**
     * 执行时间
     */
    private Date excuteTime;

    /**
     * 执行耗时
     */
    private String elapsedTime;

    /**
     * 执行结果0-正常，1-异常
     */
    private Integer excuteResult;

    /**
     * 异常信息
     */
    private String errorMessage;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}